package com.aierkeji.call.cms.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.aierkeji.call.cms.service.AkjCallSystemHistroyService;

@RestController
@RequestMapping("/log")
public class AkjCallSystemHistroyController {
	
	@Autowired
	AkjCallSystemHistroyService akjCallSystemHistroyService;

	@PostMapping("/list/{pageNo}")
	public Map<String, Object> list(@PathVariable(name = "pageNo") int pageNo, @RequestBody Map<String, Object> map) {
		return akjCallSystemHistroyService.list(pageNo, map);
	}
}
